﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;

namespace ProtocolConversion_WINCE
{
    /// <summary>
    /// change backLight Level
    /// </summary>
    class BackLight
    {
        [DllImport ("HDI_API.dll")]
        public static extern bool API_BLK_SetLevel(byte level);

        public static void ChangeBackLight(byte level)
        {
            API_BLK_SetLevel(level);
        }
    }
}
